package com.example.demo.web.contorller;

import com.google.common.collect.ImmutableMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value="/demo")
public class DemoController {

    @GetMapping(value="/show")
    public Object show(){
        return ImmutableMap.of("success","ok");
    }
}
